package com.villaday.idf.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by tudou on 2018/9/8.
 */

public class PayEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"appid":"wx2e033b1bbbeb6178","noncestr":"1bdogUhOgKcykNAcgTkAfRzJoJH9b1P5","package":"Sign=WXPay","partnerid":"1511850041","prepayid":"wx081240165952654caf691cee2362908770","sign":"7205DCC874FEEBCA3FF2365EF9C26332","timestamp":"1536381616"}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * appid : wx2e033b1bbbeb6178
         * noncestr : 1bdogUhOgKcykNAcgTkAfRzJoJH9b1P5
         * package : Sign=WXPay
         * partnerid : 1511850041
         * prepayid : wx081240165952654caf691cee2362908770
         * sign : 7205DCC874FEEBCA3FF2365EF9C26332
         * timestamp : 1536381616
         */

        private String appid;
        private String noncestr;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private String timestamp;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public String getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(String timestamp) {
            this.timestamp = timestamp;
        }
    }
}
